<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'detailAds.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/css.css" rel="stylesheet" type="text/css" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body class="ContentBody">
<form action="admin/addAds" method="post">
	<div class="MainDiv">
	<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
	  <tr>
	      <th class="tablestyle_title" >广告内容详情</th>
	  </tr>
 	  <tr>
	    <td class="CPanel">
			<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
				<tr>
					<td width="100%">
						<fieldset style="height:100%;">
						<legend>新建广告信息</legend>  
							  <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
							  	   <tr>
									    <td align="right" height="30px" width="11%">开始时间:</td>
									    <td>
									    	${adsInfo.beginDate }	
									    </td>
								   </tr>
								   <tr>
							       		<td align="right" height="30px" width="11%">结束时间</td>
							       		<td>${adsInfo.endDate }</td>
							       </tr>
								   <tr>
									    <td align="right" height="50px" width="11%">广告标题:</td>
									    <td>
									    	${adsInfo.adsName }
									    </td>
								   </tr>
								   <tr>
									    <td align="right" height="50px" width="11%">广告位置:</td>
									    <td>
									    	${adsInfo.adsPos }
									    </td>
								   </tr>
								   <tr>
									    <td align="right" height="50px" width="11%">广告图片:</td>
									    <td style="border:1px;">
									    	<a href="${adsInfo.url }"><img src="${adsInfo.picSrc }" width="400px" height="300px"/></a>
									    </td>
								   </tr>
								   
							       <tr>
								       	<td align="right">广告内容备注:</td>
								       	<td>
								       		${adsInfo.remarks }
								        </td>
							       </tr>
							       
							       <tr>
							       		<td>&nbsp;</td>
										<td align="left">
											
										</td>
									</tr>
									<tr>
							    		<td colspan="2"  style="text-align: center;"  height="10" align="right" bgcolor="#FFFFFF">
							    			<input class="right-button02" type="button" name="back" id="back" onclick="window.history.go(-1);" value="返回"/>
							    		</td>
                    				</tr>
							  </table>
					  <br/>
						</fieldset>			
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
				
				
			</table>
		</td>
	  </tr>
	  </table>
</div>	
</form>						   
</body>
</html>
